package cn.mw.cmdb.service.impl;

import cn.mw.cmdb.entity.InstanceInfo;
import cn.mw.cmdb.entity.ModelInfo;
import cn.mw.cmdb.trigger.RecordTrigger;
import lombok.Builder;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Builder
@Data
public class AddAndUpdInstanceContext {
    private Map<String ,Object> dataBefore;
    private Map<String ,Object> data;
    //唯一性标识集合
    private List<String> uniqueFlagList;
    private ModelInfo modelInfo;
    private InstanceInfo instanceInfo;
    private List<RecordTrigger> triggers;

    private InstanceInfo successData;
    private InstanceInfo errorData;
    private String messageInfo;

}
